<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" style="">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>综合信息</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport"
        content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="renderer" content="webkit" />
    <link href="../../css/zfws/ui-dialog.css" rel="stylesheet" type="text/css" />
    <link href="../../css/zfws/style1.css" rel="stylesheet" type="text/css" />
    <link href="../../css/zfws/pagination.css" rel="stylesheet" type="text/css" />
    <link href="../../css/zfws/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <link href="../../css/zfws/commoninfo.css" rel="stylesheet" type="text/css" />
    <link href="../../css/zfws/base1.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../../layui/css/layui.css" />

    <script type="text/javascript" src="../../layui/layui.js"></script>


    <script type="text/javascript" src="../../js/page/zfws/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="../../js/page/zfws/dialog-plus-min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/page/zfws/jquery.autocomplete.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/page/zfws/jquery.autocomplete.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/page/zfws/WdatePicker.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/page/zfws/laymain.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/page/zfws/common.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/page/zfws/jquerysession.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../js/page/zfws/share.js"></script>
    <script type="text/javascript" src="../../js/base.js"></script>
    <script type="text/javascript" src="../../js/getUrlParam.js"></script>
    <script type="text/javascript" src="../../js/page/docuse.js"></script>
    <script type="text/javascript" dir="auto">

        var layer;
        layui.use('layer', function () {
            layer = layui.layer;
        });

        var a = 0;
        var caseid = "";
        var detid = "";
        var xwrname = "";
        var b = 0;
        var docId, caseId_, docId1;
        var typeKind;
        $(function () {

            docId1 = UrlParam.paramValues("docId");
            if (docId1 == undefined || docId1 == null) {
                docId = JSON.parse($('#target', window.parent.document).val()).docId;
            } else {
                docId = eval(docId1[0])
            }
            //判断是否为由案件过来的文书
            if (docId == undefined) {

                caseId_ = JSON.parse($('#target', window.parent.document).val()).caseId;
            }
            //从查看来的
            typeKind = JSON.parse($('#target', window.parent.document).val()).typeKin;
            if (typeKind == 1) {
                $('.hideyou').hide();
            } else {
                typeKind = 0;
            }


            initIdCardType();
            //隐藏重大事件讨论
            $('#jttldiv1').hide();
            roadText("lc1");
        });

        function getluchan() {
            roadText("lc1");
        }

        function roadText(id) {
            $("#" + id + "").autocomplete("../../../case/roadStuff/listStuff", {
                width: 300, // 提示的宽度，溢出隐藏
                max: 10000,// 显示数量
                autoFill: false,
                scroll: true, // 当结果集大于默认高度时是否使用卷轴显示
                highlight: false,
                highlightItem: true,
                Default: false,
                //scroll: true,
                matchContains: true,
                minChars: 0,
                clickFire: true,
                extraParams: {
                    'title': function () {
                        var title = $("#" + id + "").val();
                        return title;
                    }, 'teamid': function () {
                        var teamid = '<%=this.teamid%>';
                        return teamid;
                    }
                },
                multiple: false,
                formatItem: function (row, i, max) {

                    if (row.name.indexOf($("#lc1").val()) >= 0) {
                        //添加自定义区分类别
                        // if (row.TeamID == -1) {
                        return '<span style="color:#005EA7">[' + i + ']</span><span style="color:gray;padding-right:10px;"> ' + row.name + '</span>';
                        /* } else {
                             return '<span style="color:#005EA7">[' + i + ']</span><span style="color:gray;padding-right:10px;"> ' + row.name + '(自定义)</span>';
                         }*/
                    }
                },
                formatMatch: function (row, i, max) {
                    return row.name + row.id;
                },
                formatResult: function (row) {
                    return row.id;
                },
                parse: function (data) {//解释返回的数据，把其存在数组里
                    var array = eval(data);
                    var parsed = [];
                    if (array == null) {
                        return parsed;
                    }
                    for (var i = 0; i < array.length; i++) {
                        parsed[i] = {
                            data: array[i],
                            value: array[i].id,
                            result: array[i].name
                        };
                    }
                    return parsed;
                }
            }).result(function (event, row, formatted) {
                jQuery(this).val(row.name);

                $("#w_price_1").val(row.price);
                $("#w_d_1").val(row.unit);
                $("#lcid").val(row.id);
                //$("#w_price_1").attr("disabled", "disabled");
                //$("#w_d_1").attr("disabled", "disabled");
                //$("#lc1").attr("disabled", "disabled");
            });

        }

        //动态添加行
        function addhtml() {
            if ($("#lc1").val() == "") {
                layer.alert("路产名称不能为空");
                return;
            }
            if ($("#w_num_1").val() == "") {
                layer.alert("数量不能为空");
                return;
            }
            if ($("#w_price_1").val() == "") {
                layer.alert("单价不能为空");
                return;
            } else {
                //任意正整数，正小数（小数位不超过5位）
                var isNum = /^(([1-9][0-9]*)|(([0]\.\d{1,5}|[1-9][0-9]*\.\d{1,5})))$/;
                var num = $("#w_price_1").val();
                if (!isNum.test(num)) {
                    layer.alert("路产单价只能输入数字和小数点！");
                    return false;
                }
            }

            if ($("#w_d_1").val() == "") {
                layer.alert("单位不能为空");
                return;
            }
            var lcid = "";
            if ($("#lcid").val() == "") {
                lcid = 0;
            }
            else {
                lcid = $("#lcid").val();
            }

            if ($("#luchan tr").length == 1) {
                a++;
            }
            else {
                var index = $('#luchan').find("tbody").find("tr:last").attr("index");
                a = parseInt(index) + parseInt(1);
            }
            var sum = "";
            var mc = $("#lc1").val();
            var sl = $("#w_num_1").val();
            var jg = $("#w_price_1").val();
            var dw = $("#w_d_1").val();
            var js = $("#dlAmount").val();

            if ($("#deleteid").val().indexOf($("#lc1").val() + ",") >= 0) {
                var str = $("#deleteid").val();
                str = str.replace($("#lc1").val() + ",", "");
                $("#deleteid").val(str);
            }
            $('#luchan').find("tbody").append("<tr id=\"option" + a + "\" index=" + a + "><td align=\"center\" width=\"25%\" id=\"mc" + a + "\">" + mc + "</td><td align=\"center\" width=\"15%\" id=\"sl" + a + "\">" + sl + "</td><td align=\"center\" width=\"20%\" id=\"jg" + a + "\">" + jg + "</td><td align=\"center\" width=\"15%\" id=\"dw" + a + "\">" + dw + "</td><td align=\"center\"><input type=\"hidden\" id=\"lcdataid" + a + "\" value=\"" + lcid + "\"/><input type=\"hidden\" id=\"index" + a + "\" value=\"" + a + "\"/><input type=\"button\" id=\"deleterow\" name=\"deleterow\" value=\"删除\"  onclick=\"deletehtml(" + a + ");\"/></td></tr>");


            sum = (parseFloat(js) + parseFloat(sl * jg)).toFixed(2);
            $("#dlAmount").val(sum);

            $("#lc1").val("");
            $("#w_num_1").val("");
            $("#w_price_1").val("");
            $("#w_d_1").val("");
            $("#lcid").val("");
            $("#w_price_1").removeAttr("disabled");
            $("#w_d_1").removeAttr("disabled");
            $("#lc1").removeAttr("disabled");
        }

        //动态删除行
        function deletehtml(rowIndex) {
            var sum = "";

            detid = $("#deleteid").val();

            detid += $("#mc" + rowIndex + "").text() + ",";
            if (caseid > 0) {
                $("#deleteid").val(detid);
            }

            var js = $("#dlAmount").val();
            var sl = $("#sl" + rowIndex + "").text();
            var jg = $("#jg" + rowIndex + "").text();
            sum = (parseFloat(js) - parseFloat(sl * jg)).toFixed(2);
            if (sum < 0) {
                $("#dlAmount").val(0);
            } else {
                $("#dlAmount").val(sum);
            }
            $("#option" + rowIndex).remove();
            a--;
        }

        //显示被谈话人
        function listEnquire(askList) {
            //debugger
            var b = 1;
            for (var i = 0; askList.length > i; i++) {
                var div_html = "<div id=\"xwrdiv" + b + "\" class=\"div1\" index=" + b + " xwblid=" + askList[i].id + "><p>";
                div_html += "<span class=\"default_font\">第" + b + "被谈话人:</span>";
                div_html += "<input type=\"text\" name=\"askedname\" id=\"askedname" + b + "\" class=\"input1\"  value='" + askList[i].name + "'  />";
                div_html += "<span class=\"default_font span1\">性别:</span>";
                if (askList[i].gender == "1") {
                    div_html += "<select name=\"sex\" id=\"sex" + b + "\" class=\"input11\">";
                    div_html += "<option value=\"1\" selected=\"selected\">男</option>";
                    div_html += "<option value=\"0\">女</option></select>";
                } else {
                    div_html += "<select name=\"sex\" id=\"sex" + b + "\" class=\"input11\">";
                    div_html += "<option value=\"1\" >男</option>";
                    div_html += "<option value=\"0\" selected=\"selected\">女</option></select>";
                }
                var age = askList[i].age;
                if (age == null) {
                    age = "";
                }
                div_html += "<span class=\"default_font span1\">年龄:</span>";
                // if (askList[i].age == 0) {
                //     div_html += "<input type=\"text\" name=\"askedage\" id=\"askedage" + b + "\"  class=\"input3\" value=''  />";
                // } else {
                div_html += "<input type=\"text\" name=\"askedage\" id=\"askedage" + b + "\"  class=\"input3\" value='" + age + "'  />";
                // }
                div_html += "<span class=\"default_font span1\">电话:</span>";
                div_html += "<input type=\"text\" id=\"askedtel" + b + "\" name=\"askedtel\" class=\"input27\" value='" + askList[i].telephone + "'></p>";
                div_html += "<p><span class=\"default_font\">邮</span><span class=\"span8\"></span><span class=\"default_font\">编:</span>";
                div_html += "<input type=\"text\" name=\"askedpostcode\" id=\"askedpostcode" + b + "\" class=\"input1\" value='" + askList[i].zipcode + "'     />";
                div_html += "<span class=\"default_font span1\">职业:</span>";
                div_html += "<select id=\"askedjob" + b + "\" name=\"askedjob\" class=\"remove input1\">" + $("#askedjob").html() + "</select>";
                div_html += "<span class=\"default_font span1\">单位名称:</span>";
                div_html += "<input type=\"text\" name=\"clientcompanyname\" id=\"clientcompanyname" + b + "\" class=\"input28\" value='" + askList[i].companyName + "'  /></p><p>";
                div_html += "<span class=\"default_font\">证</span><span class=\"span9\"></span><span class=\"default_font\">件</span><span class=\"span9\"></span><span class=\"default_font\">类</span><span class=\"span9\"></span><span class=\"default_font\">型:</span>";
                div_html += "<select id=\"askedcardkind" + b + "\" name=\"askedcardkind\" class=\"remove input1\" callback=\"writ_58.prototype.pages.changeInfo\">" + $("#askedcardkind").html() + "</select>";
                div_html += "<span class=\"default_font\">-</span>";
                div_html += "<input name=\"askedcardno\" type=\"text\" class=\"inp input29\" id=\"askedcardno" + b + "\" value='" + askList[i].idcardNum + "'  />";
                div_html += "<span class=\"default_font span1\">联系地址:</span>";

                div_html += "<input type=\"text\" name=\"clientcompanyaddress\" id=\"clientcompanyaddress" + b + "\" class=\"input30\" value='" + askList[i].conAddr + "'/>";
                div_html += "</p>";
                //if (i > 0) {
                div_html += "<p>";
                div_html += "<span class=\"default_font span_date\">谈话时间:</span>";
                div_html += "<input type=\"text\"  id=\"questionStartdate" + b + "\" class=\"input_date default_font input rule-date-input input14\" onfocus=\"WdatePicker({errDealMode:1,startDate:'%y',maxDate:'%y-%M-%d',dateFmt:'yyyy-M-d H时m分'})\" datatype=\"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/\" value='" + (askList[i].starts == null ? "" : askList[i].starts) + "'/>"

                div_html += "<span class=\"default_font span7 span_date\">至</span>"
                div_html += "<input type=\"text\"  id=\"questionEnddate" + b + "\" class=\"input_date default_font input rule-date-input input14\" onfocus=\"WdatePicker({errDealMode:1,startDate:'%y',maxDate:'%y-%M-%d',dateFmt:'yyyy-M-d H时m分'})\" datatype=\"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/\" value='" + (askList[i].ende == null ? "" : askList[i].ende) + "'/>"

                div_html += "</p><p>"
                div_html += "<span class=\"default_font\">谈话地点:</span>"
                div_html += "<input type=\"text\" id=\"questionPlace" + b + "\" class=\"input24\" value='" + askList[i].askLocation + "'/>";
                div_html += "</p>";
                //}
                div_html += "<p>";
                div_html += "<span class=\"default_font\">与案件关系:</span>"
                div_html += "<input type=\"text\" id=\"relation" + b + "\" class=\"input29\" value='" + askList[i].relation + "'/>";
                if (i > 0) {
                    div_html += "<input type=\"button\" onclick=\"deletexwrhtml(" + b + ")\" value=\"删除\" >";
                }
                div_html += "</p></div>";
                $('#xwrhtml').append(div_html);
                $("#askedcardkind" + b + "").find("option[value='" + askList[i].idcard + "']").attr("selected", true);
                $("#askedjob" + b + "").find("option[value='" + askList[i].job + "']").attr("selected", true);

                b++;
            }
        }


        //动态添加被谈话人
        function addxwrhtml() {
            b = $("#xwrhtml input[name='askedname']").length + 1;

            var div_html = "<div id=\"xwrdiv" + b + "\" class=\"div1\" index=" + b + " xwblid=\"0\"><p>";
            div_html += "<span class=\"default_font\">第" + b + "被谈话人:</span>";
            div_html += "<input type=\"text\" name=\"askedname\" id=\"askedname" + b + "\" class=\"input1\" />";
            div_html += "<span class=\"default_font span1\">性别:</span>";
            div_html += "<select name=\"sex\" id=\"sex" + b + "\" class=\"input11\">";
            div_html += "<option value=\"1\">男</option>";
            div_html += "<option value=\"0\">女</option></select>";
            div_html += "<span class=\"default_font span1\">年龄:</span>";
            div_html += "<input type=\"text\" name=\"askedage\" id=\"askedage" + b + "\"  class=\"input3\" />";
            div_html += "<span class=\"default_font span1\">电话:</span>";
            div_html += "<input type=\"text\" id=\"askedtel" + b + "\" name=\"askedtel\" class=\"input27\" /></p>";
            div_html += "<p><span class=\"default_font\">邮</span><span class=\"span8\"></span><span class=\"default_font\">编:</span>";
            div_html += "<input type=\"text\" name=\"askedpostcode\" id=\"askedpostcode" + b + "\" class=\"input1\" />";
            div_html += "<span class=\"default_font span1\">职业:</span>";
            div_html += "<select id=\"askedjob" + b + "\" name=\"askedjob\" class=\"remove input1\">" + $("#askedjob").html() + "</select>";
            div_html += "<span class=\"default_font span1\">单位名称:</span>";
            div_html += "<input type=\"text\" name=\"clientcompanyname\" id=\"clientcompanyname" + b + "\" class=\"input28\" /></p><p>";
            div_html += "<span class=\"default_font\">证</span><span class=\"span9\"></span><span class=\"default_font\">件</span><span class=\"span9\"></span><span class=\"default_font\">类</span><span class=\"span9\"></span><span class=\"default_font\">型:</span>";
            div_html += "<select id=\"askedcardkind" + b + "\" name=\"askedcardkind\" class=\"remove input1\" callback=\"writ_58.prototype.pages.changeInfo\">" + $("#askedcardkind").html() + "</select>";
            div_html += "<span class=\"default_font\">-</span>";
            div_html += "<input name=\"askedcardno\" type=\"text\" class=\"inp input29\" id=\"askedcardno" + b + "\" />";
            div_html += "<span class=\"default_font span1\">联系地址:</span>";
            div_html += "<input type=\"text\" name=\"clientcompanyaddress\" id=\"clientcompanyaddress" + b + "\" class=\"input30\" />";
            div_html += "</p><p>"
            div_html += "<span class=\"default_font span_date\">谈话时间:</span>";
            div_html += "<input type=\"text\"  id=\"questionStartdate" + b + "\" class=\"input_date default_font input rule-date-input input14\" onfocus=\"WdatePicker({errDealMode:1,startDate:'%y',maxDate:'%y-%M-%d',dateFmt:'yyyy-M-d H时m分'})\" datatype=\"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/\"/>"

            div_html += "<span class=\"default_font span7 span_date\">至</span>"
            div_html += "<input type=\"text\"  id=\"questionEnddate" + b + "\" class=\"input_date default_font input rule-date-input input14\" onfocus=\"WdatePicker({errDealMode:1,startDate:'%y',maxDate:'%y-%M-%d',dateFmt:'yyyy-M-d H时m分'})\" datatype=\"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/\"/>"

            div_html += "</p><p>"
            div_html += "<span class=\"default_font\">谈话地点:</span>"
            div_html += "<input type=\"text\" id=\"questionPlace" + b + "\" class=\"input24\" />"
            div_html += "</p><p>"
            div_html += "<span class=\"default_font\">与案件关系:</span>"
            div_html += "<input type=\"text\" id=\"relation" + b + "\" class=\"input29\" />"

            div_html += "<input type=\"button\" onclick=\"deletexwrhtml(" + b + ")\" value=\"删除\" >";
            div_html += "</p></div>";
            $('#xwrhtml').append(div_html);



        }

        //动态删除被谈话人
        function deletexwrhtml(rowIndex) {
            xwrname = $("#xwrdelectid").val();

            detid += $("#askedname" + rowIndex + "").val() + ",";
            if (caseid > 0) {
                $("#xwrdelectid").val(detid);
            }
            $("#xwrdiv" + rowIndex).remove();

        }
        var ajtl = 0;
        //动态添加重大案件集体讨论
        function addJttlhtml() {
            $('#jttldiv1').show();
            ajtl = 1;
        }

        //动态删除集体讨论
        function deletejttlhtml() {
            $('#jttlStartdate1').val("");
            $('#jttlEnddate1').val("")
            $('#place').val("")
            $('#jttldiv1').hide();
            ajtl = 0;
        }

        //校验案卷信息


        function submitFormOfDoc() {

            if ($('#happentime').val() == "" || $('#happentime').val() == null) {
                layer.msg("案件发生时间不允许为空", {
                    time: 4000,
                });
                return;
            }
            var docForm = $("#doc-form").serializeJson();
            /* if(ajtl==1){
                 if($('#jttlStartdate1').val()==""||$('#jttlEnddate1').val()==""||$('#place').val()==""){
                     layer.msg('讨论时间或者讨论地点不能为空！',{
                         icon: 5,
                         time: 2000 //2秒关闭（如果不配置，默认是3秒）
                     });
                     return
                 }
             }else{
                 docForm.discussStart="";
                 docForm.discussEnd="";
                 docForm.discussLocat="";
             }*/
            docForm.enquireIds = $('#happenlocationone').find("option:selected").text();
            docForm.carNo = docForm.carNo.toUpperCase();
            docForm.sex = "";

            //获取被谈话人
            var enquireList = [];
            var officerll = [];
            $("div[id^=xwrdiv]").each(function (ind, e) {
                ind += 1;
                //被谈话人信息
                var enquire = {};
                enquire.id = $(this).attr("xwblid");
                enquire.name = $(this).find("#askedname" + ind + "").val();
                enquire.gender = $(this).find("#sex" + ind + "").val();
                enquire.age = $(this).find("#askedage" + ind + "").val();
                enquire.telephone = $(this).find("#askedtel" + ind + "").val();
                enquire.zipcode = $(this).find("#askedpostcode" + ind + "").val();
                enquire.job = $(this).find("#askedjob" + ind + "").val();
                enquire.companyName = $(this).find("#clientcompanyname" + ind + "").val();//单位名称
                enquire.conAddr = $(this).find("#clientcompanyaddress" + ind + "").val(); //联系地址
                enquire.idcard = $(this).find("#askedcardkind" + ind + "").val();//证件类型
                enquire.idcardNum = $(this).find("#askedcardno" + ind + "").val();//证件号码
                enquire.relation = $(this).find("#relation" + ind + "").val();//与案件关系

                enquire.askLocation = $(this).find("#questionPlace" + ind + "").val();//谈话地点
                //第一谈话人默认为当事人信息 7-12修改被谈话人信息都支持自定义。默认为当事人信息
                // if (ind == 1) {
                //     var qfm = $('#questionfrom').val()
                //     var qto = $('#questionto').val();
                //     if(qfm!=""&&qfm!=null){
                //         var lfm = qfm.split(" ")
                //         var kssj = lfm[0]+" "+lfm[1].match(/(\S*)时/)[1]+":"+ lfm[1].match(/时(\S*)分/)[1]+":00";
                //         enquire.startTime = kssj;//谈话开始时间
                //     }
                //     if(qto!=""&&qto!=null){
                //         var lto = qto.split(" ")
                //         var jssj = lto[0]+" "+lto[1].match(/(\S*)时/)[1]+":"+ lto[1].match(/时(\S*)分/)[1]+":00";
                //         enquire.endTime = jssj;//谈话结束时间
                //     }
                // }else{
                //
                // }
                var qst = $(this).find("#questionStartdate" + ind + "").val();//谈话开始时间
                var qen = $(this).find("#questionEnddate" + ind + "").val();//谈话结束时间
                if (qst != "" && qst != null) {
                    var lfm = qst.split(" ")
                    var kssj = lfm[0] + " " + lfm[1].match(/(\S*)时/)[1] + ":" + lfm[1].match(/时(\S*)分/)[1] + ":00";
                    enquire.startTime = kssj;//谈话开始时间
                }
                if (qen != "" && qen != null) {
                    var lto = qen.split(" ")
                    var jssj = lto[0] + " " + lto[1].match(/(\S*)时/)[1] + ":" + lto[1].match(/时(\S*)分/)[1] + ":00";
                    enquire.endTime = jssj;//谈话结束时间
                }

                enquireList.push(enquire);
            });
            docForm.enquireList = enquireList;
            var recaNote = {};
            recaNote.id = $("#noteId").val();
            recaNote.caseReason = $("#cause").val();
            recaNote.weather = $("#weather").val();
            recaNote.repairType = $("#lcxffs").val();
            recaNote.locat = $("#happenlocationone1").val() == "" ? $('#happenlocationone').val() : $("#happenlocationone1").val();
            recaNote.kNumStart = $("#kyplace").val() == "" ? $('#happenlocationtwo').val() : $("#kyplace").val();
            recaNote.mNumStart = $("#kyplace3").val();
            recaNote.kNumEnd = $("#kyplace1").val();
            recaNote.mNumEnd = $("#kyplace4").val();
            recaNote.payMoney = parseFloat($("#dlAmount").val() == "" ? 0 : $('#dlAmount').val());


            var roadPriceList = [];
            //获取路产信息
            var index = $('#luchan').find("tbody").find("tr:last").attr("index");
            for (var i = 0; index >= i; i++) {
                if ($("#mc" + i + "").text() != "" && $("#sl" + i + "").text() != "") {
                    var lcdata = {};
                    // lcdata += $("#mc" + i + "").text() + "," + $("#sl" + i + "").text() + "," + $("#jg" + i + "").text() + "," + $("#dw" + i + "").text() + "," + $("#lcdataid" + i + "").val() + ";";
                    lcdata.typeId = $("#lcdataid" + i + "").val();
                    lcdata.typeName = $("#mc" + i + "").text();
                    lcdata.number = $("#sl" + i + "").text();
                    lcdata.price = $("#jg" + i + "").text();
                    lcdata.unit = $("#dw" + i + "").text()
                    roadPriceList.push(lcdata);
                }
            }
            recaNote.roadPriceList = roadPriceList;
            // docForm.locStr = $("#happenlocationone").find("option:selected").text();

            if (docForm.officerIdList == "") {
                docForm.officerIdList = officerll;
            }
            /* 这个方法是判断桩号中是否有K，没有k自动添加 于2019-3-12取消
             var kmm = docForm.kNum
             if(kmm!=""){
                var kpp= kmm.substr(0,1);
                if(kpp!="K"){
                    docForm.kNum="K"+kmm;
                }
             }*/

            docForm.recoNote = recaNote;
            docForm.discussLocat = $("#discussLocat").val();
            var docJson = JSON.stringify(docForm);
            layer.load(0);
            ajaxJson('../../../case/document/editDocument', "POST", docJson, function (ret) {
                parent.setRefresh("true");
                layer.closeAll("loading");
                if (ret.code == "200") {
                    layer.msg("操作成功", {
                        icon: 1,
                        time: 2000 //2秒关闭（如果不配置，默认是3秒）
                    }, function () {
                        location.reload()
                    });


                }
            }, function (err) {
                console.log(err);

            })
        }

        function changetext(id) {
            if (id == "askedcardkind") {
                if ($('#askedcardkind option:selected').val() == "身份证" || $('#askedcardkind option:selected').val() == "驾驶证") {
                    var UUserCard = $("#askedcardno").val();
                    var myDate = new Date();
                    var month = myDate.getMonth() + 1;
                    var day = myDate.getDate();

                    var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1;
                    if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
                        age++;
                    }
                    if ($("#askedcardno").val() == null || $("#askedcardno").val() == "") {
                        $("#askedage").val("");
                        $("#askedage1").val("");
                    } else {
                        if (120 > age > 0) {
                            $("#askedage").val(age);
                            $("#askedage1").val(age);
                        } else {
                            $("#askedage").val("");
                            $("#askedage1").val("");
                        }

                        $('#askedcardno1').val($("#askedcardno").val())
                    }
                }
            }
            else if (id == "askedaddress") {
                // 联系地址，在谈话人处id名称不一致
                $("#clientcompanyaddress1").val($("#askedaddress").val());
            } else if (id == "scenecardkind") {
                if ($('#scenecardkind option:selected').val() == "身份证" || $('#scenecardkind option:selected').val() == "驾驶证") {
                    var UUserCard = $("#scenecardno").val();
                    var myDate = new Date();
                    var month = myDate.getMonth() + 1;
                    var day = myDate.getDate();

                    var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1;
                    if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
                        age++;
                    }
                    if ($("#scenecardno").val() == null || $("#scenecardno").val() == "") {
                        $("#sceneage").val("");
                    } else {
                        $("#sceneage").val(age);
                    }
                }
            }
            $("#" + id + "1").val($("#" + id).val());


        }

        //修改过的关联当事人和第一被谈话人性别
        function changeradio(id) {

            if ($("#" + id + "1").is(':checked')) {
                $("#sex1").val("1");
            } else {
                $("#sex1").val("0");
            }
        }

        function Changeansweisowner() {
            if ($('#answeisowner option:selected').val() == "0") {
                $("#clsyr").css('display', '');
                $('#carowner').css('display', '');
            }
            else {
                $("#clsyr").css('display', 'none');
                $('#carowner').css('display', 'none');
            }
        }

        function xcry1() {
            if ($('#scene option:selected').val() == "0") {
                $("#xcry").css('display', '');
            }
            else {
                $("#xcry").css('display', 'none');
            }
        }

        function checkNum(obj) {
            var re = /^-?[1-9]*(\.\d*)?$|^-?0(\.\d*)?$/;
            if (!re.test(obj.value)) {
                alert("非法数字");
                obj.value = "";
                obj.focus();
                return false;
            }
        }

        var officerList;

        function initIdCardType() {
            var codeName = "zjlx,job,clsf,cllx,clys,tq,ajyy,lcxf,wfgd,ssqk";
            var gdcode = "yjgd";
            //证件类型初始化
            var acdoption = "<option value=''></option>";
            var akjoption = "<option value=''></option>";
            var crnoption = "<option value=''></option>";
            var ckioption = "<option value=''></option>";
            var coloption = "<option value=''></option>";
            var wthoption;
            var cseoption;
            var lcxffs;
            var yjgd;
            var wfgd;
            var facttwo;
            $("#caseTypeId").empty();
            ajaxPost('../../../base/dictionaries/selectDicByCode', { "codes": codeName }, function (data) {
                $.each(data.data.zjlx, function (i, n) {
                    acdoption += "<option value=" + data.data.zjlx[i].name + ">" + data.data.zjlx[i].name + "</option>";
                });
                $("#askedcardkind").append(acdoption);
                $("#scenecardkind").append(acdoption);
                $("#askedcardkind1").append(acdoption);
                //职业类型
                $("#askedjob").html("");
                $.each(data.data.job, function (i, n) {
                    akjoption += "<option value=" + data.data.job[i].name + ">" + data.data.job[i].name + "</option>";
                });
                $("#askedjob").append(akjoption);
                $("#scenejob").append(akjoption);
                $("#askedjob1").append(akjoption);
                //车牌省份
                $("#carprovince").html("");
                $.each(data.data.clsf, function (i, n) {
                    crnoption += "<option value=" + data.data.clsf[i].name + ">" + data.data.clsf[i].name + "</option>";
                });
                $("#carprovince").append(crnoption);
                //车辆类型
                $("#carkind").html("");
                $.each(data.data.cllx, function (i, n) {
                    ckioption += "<option value=" + data.data.cllx[i].name + ">" + data.data.cllx[i].name + "</option>";
                });
                $("#carkind").append(ckioption);
                //车辆颜色
                $("#color").html("");
                $.each(data.data.clys, function (i, n) {
                    coloption += "<option value=" + data.data.clys[i].name + ">" + data.data.clys[i].name + "</option>";
                });
                $("#color").append(coloption);
                //天气
                $("#weather").html("");
                $.each(data.data.tq, function (i, n) {
                    wthoption += "<option value=" + data.data.tq[i].name + ">" + data.data.tq[i].name + "</option>";
                });
                $("#weather").append(wthoption);
                //案件原因
                $("#cause").html("");
                $.each(data.data.ajyy, function (i, n) {
                    cseoption += "<option value=" + data.data.ajyy[i].name + ">" + data.data.ajyy[i].name + "</option>";
                });
                $("#cause").append(cseoption);
                //路产修复方式
                $("#lcxffs").html("");
                $.each(data.data.lcxf, function (i, n) {
                    lcxffs += "<option value=\"" + data.data.lcxf[i].name + "\">" + data.data.lcxf[i].name + "</option>";
                });
                $("#lcxffs").append(lcxffs);
                ajaxPost('../../../base/dictionaries/selectDicByCodeWithAuth', { "codes": gdcode }, function (data) {
                    //依据规定
                    $("#yjgd").html("");
                    $.each(data.data.yjgd, function (i, n) {
                        yjgd += "<option value=\"" + data.data.yjgd[i].name + "\">" + data.data.yjgd[i].name + "</option>";
                    });
                    $("#yjgd").append(yjgd);
                });

                //违反规定
                $("#wfgd").html("");
                $.each(data.data.wfgd, function (i, n) {
                    wfgd += "<option value=" + data.data.wfgd[i].name + ">" + data.data.wfgd[i].name + "</option>";
                });
                $("#wfgd").append(wfgd);
                //事实情况记录
                $("#facttwo").html("");
                $.each(data.data.ssqk, function (i, n) {
                    facttwo += "<option value=\"" + data.data.ssqk[i].name + "\">" + data.data.ssqk[i].name + "</option>";
                });
                $("#facttwo").append(facttwo);

                var officer = "<option value=''></option>";
                ajaxGet('../../../base/offdir/selectByDepartIdSimplification', function (data) {
                    console.log(data)
                    officerList = data.data;
                    $.each(data.data, function (i, n) {
                        // if(data.data[i].status==1){
                        //     officer += "<option disabled value=" + data.data[i].id + ">" + data.data[i].name + "</option>";
                        // }
                        if (data.data[i].status == 0) {
                            officer += "<option value=" + data.data[i].id + ">" + data.data[i].name + "</option>";
                        }
                    });
                    //officer += "<option disabled value=" + 111 + ">" + 3333 + "</option>";
                    $("#officername5").append(officer);
                    $("select[name^='officer']").append(officer);
                    var happenlocationone = "<option value=''></option>";
                    ajaxGet('../../../base/road/getRoadAndHeadByDepartId', function (data) {
                        roadList = data.data;
                        $.each(data.data, function (i, n) {
                            happenlocationone += "<option value=" + data.data[i].id + ">" + data.data[i].roadName + "</option>";
                        });
                        $("#happenlocationone").append(happenlocationone);
                        $("#happenlocationone1").append(happenlocationone);
                        // $("select[name^='officer']").append(officer);;
                        initDocumentInfo();
                    })


                });
                //只获取打卡签到的-----  打卡-- 勿删
                // ajaxGet("../../../base/officerAttend/selectOfficerAttend", function (ret) {
                //     officerList = ret.data;
                //     $.each(ret.data, function (i, n) {
                //         officer += "<option value=" + ret.data[i].officerId + ">" + ret.data[i].officerName + "</option>";
                //     });
                //     $("#officername5").append(officer);
                //     $("select[name^='officer']").append(officer);
                //     var happenlocationone = "<option value=''></option>";
                //     ajaxGet('../../../base/road/getRoadAndHeadByDepartId', function (data) {
                //         roadList = data.data;
                //         $.each(data.data, function (i, n) {
                //             happenlocationone += "<option value=" + data.data[i].id + ">" + data.data[i].roadName + "</option>";
                //         });
                //         $("#happenlocationone").append(happenlocationone);
                //         $("#happenlocationone1").append(happenlocationone);
                //         // $("select[name^='officer']").append(officer);;
                //         initDocumentInfo();
                //     })
                // },function (err) {
                //     console.log(err)
                // });
                ajaxGet('../../../base/Group/selectAllGroup', function (data) {
                    var jituan = "<option value=''></option>";;
                    $.each(data.data, function (index, item) {
                        jituan += '<option value="' + item.groupName + '">' + item.groupName + '</option>';

                    })
                    $("#jituan").append(jituan);
                }, function (err) {
                    console.log(err);
                })
            })


        }

        function selectOfficer(id) {
            var id_ = $('#officername' + id + '').val();
            if (id_ == "" || id_ == null) {
                $('#officerjob' + id + '').val("");
                $('#officertno' + id + '').val("");
                $('#officerpno' + id + '').val("");
            }
            for (var i = 0; i < officerList.length; i++) {
                if (officerList[i].id == id_) {
                    $('#officerjob' + id + '').val(officerList[i].post);
                    // $('#officertno' + id + '').val(officerList[i].trafficCard);
                    $('#officerpno' + id + '').val(officerList[i].provinceCard);
                    // var factone = $("#factone").val();
                    // var name;
                    // if (id != 5) {
                    //     if (id == 1) {
                    //         name = $('#officername1 option:selected').html();
                    //     } else if (id == 2) {
                    //         name = $('#officername2 option:selected').html();
                    //     } else if (id == 3) {
                    //         name = $('#officername3 option:selected').html();
                    //     } else {
                    //         name = $('#officername4 option:selected').html();
                    //     }
                    //     var name1 = factone.substr(factone.length-4,4)
                    //     if(name1=="执法人员"){
                    //         factone += name;
                    //         $("#factone").val(factone);
                    //     }else{
                    //         if ((factone.indexOf(name)) == -1) {
                    //             factone += "、"+name;
                    //             $("#factone").val(factone);
                    //         }
                    //     }
                    // }
                }
            }
            //用于打卡，值查询出今天打卡的。 打卡-- 勿删
            // for (var i = 0; i < officerList.length; i++) {
            //     if (officerList[i].officerId == id_) {
            //         $('#officerjob' + id + '').val(officerList[i].post);
            //         //$('#officertno' + id + '').val(officerList[i].trafficCard);
            //         $('#officerpno' + id + '').val(officerList[i].provinceCard);
            //     }
            // }
            var htList = [];
            $("select[name='officerIdList']").each(function () {
                var html = $(this).find("option:selected").html();
                if (html != "") {
                    htList.push(html);
                }
            });
            var htstr = htList.join("、")
            $("#factone").val(departScene + htstr)

        }

        var departScene = "";
        //初始化详细信息可能是案件id 也可能是案卷id
        function initDocumentInfo() {
            layer.load(0)
            var isCase;
            var newId;

            if (docId != null) {
                newId = docId;
                isCase = false;
            }
            if (caseId_ != null) {
                newId = caseId_;
                isCase = true;
            }
            //debugger
            ajaxPost('../../../case/document/getDocumentDetail', {
                id: newId,
                isCase: isCase
            }, function (data) {
                if (data.data == null) {
                    layer.msg("没有查询到文书", {
                        icon: 2,
                        time: 2000 //2秒关闭（如果不配置，默认是3秒）
                    });
                    return;
                }
                //是否显示重大案件讨论
                checkDiscuss(data.data.id)
                docId = data.data.id;
                departScene = data.data.departScene;


                $('#codealltop').text(data.data.caseNo == null ? "" : data.data.caseNo);
                $('#doc-form').populateForm(data.data);
                /*  if(data.data.discussLocat!=null&&data.data.discussLocat!=""){
                      $('#jttldiv1').show();
                      ajtl=1;
                  }else{
                      $('#jttlStartdate1').val("");
                      $('#jttlEnddate1').val("")
                      $('#place').val("")
                  }*/

                //不在现场，加载现场人员信息
                if (data.data.isScene == 0) {
                    $('#scene option:selected').find("option[value='" + 0 + "']").attr("selected", true);
                    $("#xcry").css('display', '');
                }
                if (data.data.isOwner == 0) {
                    $('#answeisowner option:selected').find("option[value='" + 0 + "']").attr("selected", true);
                    $("#clsyr").css('display', '');
                    $("#carowner").css('display', '');
                }
                //执法人员显示
                var officer = data.data.officerList;
                if (officer != null) {
                    for (var i = 0; i < officer.length; i++) {
                        if (isExistOption("officername" + (i + 1) + "", officer[i].id)) {
                            $("#officername" + (i + 1) + " optiono[value='" + officer[i].id + "']").remove();
                        }
                        // $("#officername" + (i + 1) + "").append("<option value='" + officer[i].id + "'>"+officer[i].name+"</option>");
                        $("#officername" + (i + 1) + "").find("option[value='" + officer[i].id + "']").attr("selected", true);
                        $('#officerjob' + (i + 1) + '').val(officer[i].post);
                        //$('#officertno' + (i + 1) + '').val(officer[i].trafficCard);
                        $('#officerpno' + (i + 1) + '').val(officer[i].provinceCard);
                    }
                }
                if (data.data.recodeTOfficer.name != null) {
                    if (isExistOption("officername5", data.data.recodeTOfficer.id)) {
                        $("#officername5 option[value='" + data.data.recodeTOfficer.id + "']").remove();
                    }
                    $("#officername5").append("<option value='" + data.data.recodeTOfficer.id + "'>" + data.data.recodeTOfficer.name + "</option>");
                    $("#officername5").find("option[value='" + data.data.recodeTOfficer.id + "']").attr("selected", true);
                    $('#officerjob5').val(data.data.recodeTOfficer.post);
                    //$('#officertno5').val(data.data.recodeTOfficer.trafficCard);
                    $('#officerpno5').val(data.data.recodeTOfficer.provinceCard);
                }
                //被谈话人显示
                var askList = data.data.enquireList;
                listEnquire(askList);
                //勘验信息显示
                var recoNote = data.data.recoNote;
                if (recoNote != null) {
                    $("#noteId").val(recoNote.id);
                    $("#cause").val(recoNote.caseReason == null ? '' : recoNote.caseReason);
                    $("#weather").val(recoNote.weather == null ? '' : recoNote.weather);
                    $("#happenlocationone1").val(recoNote.locat == null ? '' : recoNote.locat);
                    $("#kyplace").val(recoNote.kNumStart);
                    $("#kyplace3").val(recoNote.mNumStart);
                    $("#kyplace1").val(recoNote.kNumEnd);
                    $("#kyplace4").val(recoNote.mNumEnd);
                    $("#lcxffs").val(recoNote.repairType == null ? '' : recoNote.repairType);
                    $("#dlAmount").val(recoNote.payMoney == null ? 0 : recoNote.payMoney);
                    var priceList = recoNote.roadPriceList;
                    if (priceList != null) {
                        for (var i = 0; i < priceList.length; i++) {
                            $('#luchan').find("tbody").append("<tr id=\"option" + (i + 1) + "\" index=" + (i + 1) + "><td align=\"center\" width=\"25%\" id=\"mc" + (i + 1) + "\">" + priceList[i].typeName + "</td><td align=\"center\" width=\"15%\" id=\"sl" + (i + 1) + "\">" + priceList[i].number + "</td><td align=\"center\" width=\"20%\" id=\"jg" + (i + 1) + "\">" + priceList[i].price + "</td><td align=\"center\" width=\"15%\" id=\"dw" + (i + 1) + "\">" + priceList[i].unit + "</td><td align=\"center\"><input type=\"hidden\" id=\"lcdataid" + (i + 1) + "\" value=\"" + priceList[i].id + "\"/><input type=\"hidden\" id=\"index" + (i + 1) + "\" value=\"" + (i + 1) + "\"/><input type=\"button\" id=\"deleterow\" name=\"deleterow\" value=\"删除\"  onclick=\"deletehtml(" + (i + 1) + ");\"/></td></tr>");
                        }
                    }
                }

                if (data.data.discussLocat == "0") {
                    //状态异常显示备注
                    $(".beizhuxianshi").css("display", "")

                } else {
                    $(".beizhuxianshi").css("display", "none")
                }

                layer.closeAll("loading");
            }, function (err) {
                console.log(err);
            })
        }

        function backTo() {
            var index = parent.layer.getFrameIndex(window.name);
            parent.layer.close(index)
            if (index == undefined) {
                history.back(-1);
            }
        }
        function isExistOption(id, value) {
            var isExist = false;
            var count = $('#' + id).find('option').length;

            for (var i = 0; i < count; i++) {
                if ($('#' + id).get(0).options[i].value == value) {
                    isExist = true;
                    break;
                }
            }
            return isExist;
        }

        function querenzhuangtai() {
            layer.confirm('是否确认？', function (index) {
                ajaxPost("../../../case/document/querenzhuangtai", { docId: docId }, function (ret) {
                    if (ret.code === "200") {
                        $("#querenzhuangtai").text("已确认,确认时间：" + ret.data)
                        $("#qurenbutton").css("display", "none");
                    }
                })
                layer.close(index);
            });
        }

        function changeZhuangtai() {
            var querenzhuangtai = $("#discussLocat").val();
            console.log(querenzhuangtai)
            if (querenzhuangtai == "0") {
                //状态异常显示备注
                $(".beizhuxianshi").css("display", "")
            } else {
                $(".beizhuxianshi").css("display", "none")
            }
        }

    </script>
    <style>
        html {
            height: 100% !important;
            width: 97% !important;
        }

        .fieldset1 {
            text-align: left;
        }

        p {
            margin: 2px;
        }

        .title-commoninfo {
            font-size: 18pt;
            font-weight: bold;
        }

        legend {
            background-color: #173a8e;
            color: #fff;
            border-radius: 3px;
        }

        fieldset {
            border-width: 2px;
            border-color: #173a8e;
            border-radius: 3px;
        }

        .myRadio {
            width: 1.2rem;
            height: 1.2rem;
            background-color: #fff;
            border: solid 1px #dddddd;
            border-radius: 0.6rem;
            font-size: 0.8rem;
            margin: 0;
            padding: 0;
            position: relative;
            display: inline-block;
            vertical-align: top;
            -webkit-appearance: none;
            user-select: none;
            transition: background-color ease 0.1s;
            margin-left: 0.4rem;
        }

        .myRadio:checked {
            background-color: #173a8e;
            border: solid 1px #173a8e;
            text-align: center;

        }

        .myRadio:checked:before,
        .myRadio:checked:after {
            content: '';
            width: 0.5rem;
            height: 0.3rem;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -0.25rem;
            margin-top: -0.25rem;
            background: transparent;
            border: 1px solid #ffffff;
            border-top: none;
            border-right: none;
            z-index: 2;
            -webkit-border-radius: 0;
            border-radius: 0;
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }

        .myRadio:checked:before,
        .myRadio:checked:after {
            content: '';
            width: 0.5rem;
            height: 0.3rem;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -0.25rem;
            margin-top: -0.25rem;
            background: transparent;
            border: 1px solid #ffffff;
            border-top: none;
            border-right: none;
            z-index: 2;
            -webkit-border-radius: 0;
            border-radius: 0;
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }
    </style>
</head>

<body class="mainbody">
    <div id="form1">
        <!--导航栏-->
        <!--    <div class="location">-->
        <!--        &lt;!&ndash;<a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>-->
        <!--        <a href="../center.aspx" class="home"><i></i><span>首页</span></a>-->
        <!--        <i class="arrow"></i>-->
        <!--        <span>综合信息</span>&ndash;&gt;-->
        <!--        <i></i><span style="float: right">案卷编号:<span id="codealltop" style="float: right"></span></span>-->
        <!--    </div>-->
        <div id="floatHead" class="toolbar-wrap">
            <div class="toolbar" style="position: fixed;">
                <div class="box-wrap">
                    <a class="menu-btn"></a>
                    <div class="l-list">
                        <ul class="icon-list">
                            <!--updated by gmy 20180331.修改 li a 样式 -->
                            <li style="padding-top:80px; position:absolute;z-index:4;">
                                <!-- <a class="fh" style="width:65px;" href="javascript:backTo();"><i></i><span>返 回</span></a>-->
                                <button class="layui-btn layui-btn-sm layui-btn-normal fh" onclick="backTo()"><i
                                        class="layui-icon">&#xe65c;</i><span style="font-family:宋体;">返 回</span></button>
                            </li>

                            <li style=" float:none;padding-top:120px; position:absolute;z-index:3;">
                                <!--<a class="save hideyou" style="background:#eeeeee;width:65px;" href="javascript:;"
                               onclick="submitFormOfDoc()"><i></i><span>保 存</span></a>-->
                                <button class="layui-btn layui-btn-sm save hideyou" href="#"
                                    onclick="submitFormOfDoc();"><i class="layui-icon">&#xe605;</i><span
                                        style="font-family:宋体;">保 存</span></button>
                            </li>
                        </ul>

                        <ul class="icon-list" style="margin-left:85px;">
                            <li><a class="zh" href="javascript:switchTag('lzaj-edit');"
                                    style="background: #ECECEC;"><i></i><span style="font-size: 12px;">综合信息</span></a>
                            </li>
                            <li><a class="ajjz" href="javascript:switchTag('ajjz');"><i></i><span>卷宗卷皮</span></a></li>
                            <li><a class="jnwjml" href="javascript:switchTag('jnwjml');"><i></i><span>卷内目录</span></a>
                            </li>
                            <!--                        <li><a class="xcbl" href="javascript:switchTag('xcbl');"><i></i><span>现场笔录</span></a></li>-->
                            <li><a class="xwbl" href="javascript:switchTag('xwbl');"><i></i><span>谈话记录</span></a></li>
                            <li><a class="kybl" href="javascript:switchTag('kybl');"><i></i><span>勘验（检查）笔录</span></a>
                            </li>
                            <li><a class="shigutupian"
                                    href="javascript:switchTag('photo');"><i></i><span>事故照片</span></a></li>
                            <li> <a class="xcbl" href="javascript:switchTag('bpgsq');"><i></i><span>不评估申请</span></a>
                            </li>
                            <li> <a class="jnsm"
                                    href="javascript:switchTag('jnsm');"><i></i><span>交纳路产赔（补）偿费的情况说明</span></a></li>
                            <li> <a class="bcsj" href="javascript:switchTag('bcsj');"><i></i><span>损坏（占用）公路路产赔（补）偿费收据
                                    </span></a></li>

                            <!--                        <li><a class="dcbg" href="javascript:switchTag('dcbg');"><i></i><span>调查报告</span></a></li>-->
                            <!--                        <li><a class="jttl" href="javascript:switchTag('jttl');"><i></i><span>重大案件集体讨论</span></a></li>-->
                            <!--                        <li><a class="xwjd" href="javascript:switchTag('xzxwjds');"><i></i><span>行政行为决定书</span></a></li>-->
                            <!--                        <li><a class="sdhz" href="javascript:switchTag('sdhz');"><i></i><span>送达回证</span></a></li>-->
                            <!--                        <li><a class="jabg" href="javascript:switchTag('jabg');"><i></i><span>结案报告</span></a></li>-->
                            <li><a class="shigutupian"
                                    href="javascript:switchTag('video');"><i></i><span>案件视频</span></a>
                            </li>
                            <li><a class="jzjnbkq" href="javascript:switchTag('jzjnbkq');"><i></i><span>文书备注</span></a>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width="0" height="0">
            <embed id="LODOP_EM" type="application/x-print-lodop" width="0" height="0" />
        </object>
        <input type="hidden" name="recordId" />
        <input type="hidden" name="docNo" />
        <input type="hidden" name="caseaddreepin" id="caseaddreepin" />
        <div id="show_table" style="top: 30px;position: relative;">
            <form id="doc-form" autocomplete="off">
                <input type="hidden" name="id" />
                <table id="new_print_table" border="0" width="730" align="left"
                    style="margin-left: 50px; font-family: 微软雅黑; width: 100%">
                    <tbody>
                        <tr>
                            <td align="center">
                                <h3 class="title-commoninfo">综合信息
                                </h3>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" style="text-align: -webkit-center;">
                                <fieldset class="fieldset1">
                                    <!--<input style="display: none;" id="departmentName" name="departmentName" />-->
                                    <legend class="default_font">当事人信息:</legend>
                                    <div class="div1">
                                        <p>
                                            <span class="default_font">姓名:</span>
                                            <input type="text" name="clientName" id="askedname" class="input1"
                                                onchange="changetext('askedname');" />
                                            <span class="span1 default_font">性别:</span>
                                            <span class="span2">
                                                <input type="radio" class="input2 myRadio" name="clientGender"
                                                    id="askedsex1" viewtype="radio" value="1"
                                                    onchange="changeradio('askedsex');" /><span id="sex_1"
                                                    class="default_font">男</span>
                                                <input type="radio" class="input2 myRadio" name="clientGender"
                                                    id="askedsex2" viewtype="radio" value="0"
                                                    onchange="changeradio('askedsex');" /><span id="sex_1_1"
                                                    class="default_font">女</span>
                                            </span>
                                            <span class="span1 default_font">证件:</span>
                                            <select id="askedcardkind" name="clientIdcard" class="remove input1"
                                                callback="writ_58.prototype.pages.changeInfo"
                                                onchange="changetext('askedcardkind');">

                                            </select>
                                            <input type="text" id="askedcardno" name="clientIdcardNum" class="input4"
                                                onchange="changetext('askedcardkind');" />
                                            <span class="span1 default_font">年龄:</span>
                                            <input type="text" name="clientAge" id="askedage" value="" class="input3"
                                                onchange="changetext('askedage');" />

                                        </p>
                                        <p>
                                            <span class="default_font">职业:</span>
                                            <select id="askedjob" name="clientJob" class="remove input1"
                                                onchange="changetext('askedjob');">
                                            </select>
                                            <span class="span1 default_font">电话:</span>
                                            <input type="text" name="clientTel" id="askedtel" class="input5"
                                                onchange="changetext('askedtel');" />
                                            <span class="span1 default_font">住址:</span>
                                            <input type="text" name="clientAddress" id="askedaddress" class="input6"
                                                onchange="changetext('askedaddress');" />
                                            <span class="span1 default_font">邮编:</span>
                                            <input type="text" name="zipcode" id="askedpostcode" class="input7"
                                                onchange="changetext('askedpostcode');" />
                                        </p>
                                        <p>
                                            <span class="default_font">单位:</span>
                                            <input type="text" name="clientComName" id="clientcompanyname"
                                                class="input8" onchange="changetext('clientcompanyname');" />
                                            <span class="span1 default_font">单位地址:</span>
                                            <input type="text" name="clientComAddr" id="clientcompanyaddress"
                                                class="input9" />
                                        </p>
                                        <p>
                                            <span class="default_font">是否驾驶员:</span>
                                            <select id="answerispilot" name="isDriver" class="remove input11">
                                                <option value="1">是</option>
                                                <option value="0">不是</option>
                                            </select>
                                            <span class="span3 default_font">是否车辆所有人:</span>
                                            <select id="answeisowner" name="isOwner" class="remove input11"
                                                onchange="Changeansweisowner();">
                                                <option value="1">是</option>
                                                <option value="0">不是</option>
                                            </select>
                                            <span class="span3 default_font" id="clsyr"
                                                style="display: none;">车辆所有人：</span>
                                            <input type="text" name="carOwner" id="carowner" style="display: none;"
                                                class="input10" />

                                        </p>
                                        <p>
                                            <span class="default_font">与案件关系：</span>
                                            <input type="text" name="clientRelation" id="relation" maxlength="10"
                                                onchange="changetext('relation');" />
                                            <span class="span3 default_font">是否在现场:</span>
                                            <select id="scene" name="isScene" class="remove input11" onchange="xcry1()">
                                                <option value="1">在</option>
                                                <option value="0">不在</option>
                                            </select>
                                        </p>
                                    </div>
                                </fieldset>
                                <fieldset class="fieldset1" id="xcry" style="display: none;">
                                    <legend class="default_font">现场人员信息:</legend>
                                    <div class="div1">
                                        <p>
                                            <span class="default_font">姓名:</span>
                                            <input type="text" name="sceneName" id="scenename" class="input1"
                                                onchange="changetext('scenename');" />
                                            <span class="span1 default_font">性别:</span>
                                            <span class="span2">
                                                <input type="radio" class="input2" name="sceneGender" id="scenesex1"
                                                    viewtype="radio" value="1" />
                                                <span id="scenesex_1" class="default_font">男</span>
                                                <input type="radio" class="input2" name="sceneGender" id="scenesex2"
                                                    viewtype="radio" value="0" />
                                                <span id="scenesex_1_1" class="default_font">女</span>
                                            </span>
                                            <span class="span1 default_font">证件:</span>
                                            <select id="scenecardkind" name="sceneIdcard" class="remove input1"
                                                onchange="changetext('scenecardkind');"></select>
                                            <input type="text" id="scenecardno" name="sceneIdcardNum" class="input4"
                                                onchange="changetext('scenecardkind');" />
                                            <span class="span1 default_font">年龄:</span>
                                            <input type="text" name="sceneAge" id="sceneage" value="" class="input3" />

                                        </p>
                                        <p>
                                            <span class="default_font">职业:</span>
                                            <select id="scenejob" name="sceneJob" class="remove input1"
                                                onchange="changetext('scenejob');">
                                            </select>
                                            <span class="span1 default_font">电话:</span>
                                            <input type="text" name="sceneTel" id="scenetel" class="input5"
                                                onchange="changetext('scenetel');" />
                                            <span class="span1 default_font">住址:</span>
                                            <input type="text" name="sceneAddr" id="sceneaddress" class="input6"
                                                onchange="changetext('sceneaddress');" />
                                        </p>
                                        <p>
                                            <span class="default_font">单位:</span>
                                            <input type="text" name="sceneCompany" id="sceneunit" class="input8"
                                                onchange="changetext('sceneunit');" />
                                            <span class="default_font">与案件关系：</span>
                                            <input type="text" name="sceneRelation" id="scenerelation" maxlength="10"
                                                onchange="changetext('scenerelation');" />
                                        </p>
                                    </div>
                                </fieldset>
                                <fieldset class="fieldset1">
                                    <legend style="font-size: 15px;">经办人员信息:</legend>
                                    <div class="div1">
                                        <p>
                                            <span class="default_font">经办人员:</span>
                                            <select name="officerIdList" id="officername1"
                                                onchange="selectOfficer('1');" class="remove input1" selectflag="2"
                                                callback="writ_58.prototype.pages.changeInfo">
                                            </select>
                                            <span class="default_font ">工号:</span>
                                            <input type="text" name="officerfourjob" style="width: 155px;"
                                                disabled="disabled" />
                                            <span class="default_font ">职务:</span>
                                            <input type="text" name="officeronejob" id="officerjob1"
                                                style="width: 55px;" disabled="disabled" />
                                            <!--                                    <span class="default_font ">交通运输行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officeronecarno" id="officertno1" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                            <!--                                    <span class="default_font ">河北省行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officeronecarno1" id="officerpno1" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                        </p>
                                        <p>
                                            <span class="default_font">经办人员:</span>
                                            <select name="officerIdList" id="officername2" class="remove input1"
                                                onchange="selectOfficer('2');" selectflag="2"
                                                callback="writ_58.prototype.pages.changeInfo">
                                            </select>
                                            <span class="default_font ">工号:</span>
                                            <input type="text" name="officerfourjob" style="width: 155px;"
                                                disabled="disabled" />
                                            <span class="default_font">职务:</span>
                                            <input type="text" name="officertwojob" id="officerjob2"
                                                style="width: 55px;" disabled="disabled" />
                                            <!--                                    <span class="default_font">交通运输行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officertwocarno" id="officertno2" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                            <!--                                    <span class="default_font ">河北省行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officertwocarno1" id="officerpno2" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                        </p>
                                        <p>
                                            <span class="default_font">经办人员:</span>
                                            <select name="officerIdList" id="officername3" class="remove input1"
                                                onchange="selectOfficer('3');" selectflag="2"
                                                callback="writ_58.prototype.pages.changeInfo">
                                            </select>
                                            <span class="default_font">工号:</span>
                                            <input type="text" name="officerthreejob" style="width: 155px;"
                                                disabled="disabled" />
                                            <span class="default_font">职务:</span>
                                            <input type="text" name="officerthreejob" id="officerjob3"
                                                style="width: 55px;" disabled="disabled" />
                                            <!--                                    <span class="default_font ">交通运输行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officerthreecarno" id="officertno3" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                            <!--                                    <span class="default_font ">河北省行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officerthreecarno1" id="officerpno3" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                        </p>
                                        <p>
                                            <span class="default_font">经办人员:</span>
                                            <select name="officerIdList" id="officername4" class="remove input1"
                                                onchange="selectOfficer('4');" selectflag="2"
                                                callback="writ_58.prototype.pages.changeInfo">
                                            </select>
                                            <span class="default_font ">工号:</span>
                                            <input type="text" name="officerfourjob" style="width: 155px;"
                                                disabled="disabled" />
                                            <span class="default_font ">职务:</span>
                                            <input type="text" name="officerfourjob" id="officerjob4"
                                                style="width: 55px;" disabled="disabled" />
                                            <!--                                    <span class="default_font ">交通运输行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officerfourcarno" id="officertno4" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                            <!--                                    <span class="default_font ">河北省行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officerfourcarno1" id="officerpno4" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                        </p>
                                        <p>
                                            <span class="default_font">记</span><span class="default_font"
                                                style="margin-left: 7.5px;">录</span><span class="default_font"
                                                style="margin-left: 7.5px;">人:</span>
                                            <select name="recorderIds" id="officername5" class="remove input1"
                                                onchange="selectOfficer('5');" selectflag="2"
                                                callback="writ_58.prototype.pages.changeInfo">
                                            </select>
                                            <span class="default_font ">工号:</span>
                                            <input type="text" name="officerfourjob" style="width: 155px;"
                                                disabled="disabled" />
                                            <span class="default_font ">职务:</span>
                                            <input type="text" name="recorderjob" id="officerjob5" disabled="disabled"
                                                style="width: 55px;" />
                                            <!--                                    <span class="default_font ">交通运输行政执法证:</span>-->
                                            <!--                                    <input type="text" name="recordercarno" id="officertno5" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                            <!--                                    <span class="default_font ">河北省行政执法证:</span>-->
                                            <!--                                    <input type="text" name="officeronecarno" id="officerpno5" style="width: 70px;"-->
                                            <!--                                           disabled="disabled"/>-->
                                        </p>

                                    </div>
                                </fieldset>
                                <fieldset class="fieldset1">
                                    <legend style="font-size: 15px;">案件信息:</legend>
                                    <div id="info_div" class="div1">
                                        <p>
                                            <span class="default_font span_date">案件发生时间:</span>
                                            <input type="text" name="happentime1" id="happentime"
                                                class="input_date default_font input rule-date-input input14"
                                                onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',maxDate:'%y-%M-%d'})"
                                                datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />

                                        </p>
                                        <!--                                <p>-->
                                        <!--                                    <span class="default_font span_date">案件发现时间:</span>-->
                                        <!--                                    <input type="text"  name="findTime1" id="findtime" class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',maxDate:'%y-%M-%d'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />-->


                                        <!--                                </p>-->
                                        <!--                                <p>-->
                                        <!--                                    <span class="default_font span_date">现场笔录时间:</span>-->
                                        <!--                                    <input type="text"  name="recordStart1" id="xcblfrom" class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',maxDate:'%y-%M-%d'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />-->
                                        <!--                                    <span class="default_font span7 span_date">至</span>-->
                                        <!--                                    <input type="text"  name="recordEnd1" id="xcblto" class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',minDate:'#F{$dp.$D(\'xcblfrom\',{d:0});}'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />-->

                                        <!--                                </p>-->
                                        <p>
                                            <span class="default_font span_date">谈</span><span
                                                class="default_font  span_date"
                                                style="padding-left: 10.5px!important;">话</span><span
                                                class="default_font  span_date"
                                                style="padding-left: 10.5px!important;">时</span><span
                                                class="default_font span_date"
                                                style="padding-left: 10.5px!important;">间:</span>
                                            <input type="text" name="inquiryStart1" id="questionfrom"
                                                class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',maxDate:'%y-%M-%d',onpicked:function(dp){
                                           	$('#questionStartdate1').val(dp.cal.getNewDateStr());
                                           	}})"
                                                datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />

                                            <span class="default_font span7 span_date">至</span>
                                            <input type="text" name="inquiryEnd1" id="questionto"
                                                class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',minDate:'#F{$dp.$D(\'questionfrom\',{d:0});}',onpicked:function(dp){
                                           	$('#questionEnddate1').val(dp.cal.getNewDateStr());
                                           	}})"
                                                datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />

                                        </p>
                                        <p>
                                            <span class="default_font span_date">勘</span><span
                                                class="default_font  span_date"
                                                style="padding-left: 10.5px!important;">验</span><span
                                                class="default_font  span_date"
                                                style="padding-left: 10.5px!important;">时</span><span
                                                class="default_font span_date"
                                                style="padding-left: 10.5px!important;">间:</span>
                                            <input type="text" name="inquestStart1" id="kyfrom"
                                                class="input_date default_font input rule-date-input input14"
                                                onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',maxDate:'%y-%M-%d'})"
                                                datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />

                                            <span class="default_font span7 span_date">至</span>
                                            <input type="text" name="inquestEnd1" id="kyto"
                                                class="input_date default_font input rule-date-input input14"
                                                onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',minDate:'#F{$dp.$D(\'kyfrom\',{d:0});}'})"
                                                datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />

                                        </p>
                                        <p>
                                            <span class="default_font">案件发生地点:</span>
                                            <select id="happenlocationone" name="locat" class="remove input15">
                                            </select>
                                            <input type="text" id="happenlocationtwo" class="input17"
                                                style="width: 60px;text-transform: uppercase;" name="kNum"
                                                value="" /><span>+</span>
                                            <input type="text" id="happenlocationthree" class="input17"
                                                style="width: 60px;" name="mNum" value="" />

                                            <span class="default_font">路段所属:</span>
                                            <select id="jituan" name="jituan" class="remove input1">
                                            </select>
                                        </p>
                                        <!--                                <p>-->
                                        <!--                                    <span class="default_font">事实情况记录:</span>-->
                                        <!--                                    <input type="text" id="factone" name="factOne" class="input18"/>-->
                                        <!--                                </p>-->
                                        <p>
                                            <select id="facttwo" name="factTwo" class="remove input19">
                                            </select>
                                            <select id="carprovince" name="carProvince" class="remove input20">
                                            </select>
                                            <input type="text" id="carno" name="carNo" class="input21"
                                                style="width: 130px;text-transform:uppercase;" />
                                            <span class="default_font">颜色:</span>
                                            <!--    <input type="text" id="color" name="color" class="input21" style="width: 100px;"  />  -->
                                            <select name="carColor" id="color" class="remove input22">
                                                <option></option>
                                            </select>
                                            <select name="carType" id="carkind" class="remove input22">
                                            </select>
                                        </p>
                                        <!--                                <p>-->
                                        <!--                                    <textarea class="textarea1" id="factthree" name="factThree"></textarea>-->
                                        <!--                                </p>-->

                                    </div>
                                </fieldset>
                                <fieldset id="xwrhtml" class="fieldset1">
                                    <input style="display: none;" id="departmentName1" name="departmentName" />
                                    <legend style="font-size: 15px;">被谈话人<input type="button" value="增加多次被谈话人信息"
                                            onclick="addxwrhtml();" />
                                    </legend>
                                    <input id="xwrdelectid" type="hidden" />
                                </fieldset>
                                <!--                        <fieldset id="auto_fieldset" class="fieldset1">-->
                                <!--                            <legend style="font-size: 15px;">谈话记录</legend>-->
                                <!--                            <div id="auto_div" class="div1">-->
                                <!--                                <p>-->
                                <!--                                    <span class="default_font">当事人描述事故原因:</span>-->
                                <!--                                    <input type="text" name="clientReason" id="happenreson" class="input23"/>-->
                                <!--                                </p>-->
                                <!--                            </div>-->
                                <!--                            <p>-->
                                <!--                                <span style="float: right; font-size: 12px;">(若为空，则与案件原因相同)</span><br/>-->
                                <!--                            </p>-->
                                <!--                            <div id="auto_div1" class="div1">-->
                                <!--                                <p>-->
                                <!--                                    <span class="default_font">谈话地点:</span>-->
                                <!--                                    <input type="text" name="enquireLoc" id="questionplace" class="input24"/>-->
                                <!--                                </p>-->
                                <!--                            </div>-->
                                <!--                            <span style="float: right; font-size: 12px;">(若为空，则与事故发生地点相同)</span>-->
                                <!--                        </fieldset>-->
                                <fieldset class="fieldset1">
                                    <legend style="font-size: 15px;">勘验笔录:</legend>
                                    <div class="div1">
                                        <p>
                                            <input type="hidden" id="noteId" />
                                            <span class="default_font">案件原因:</span>
                                            <select name="cause" id="cause" class="remove input1" style="width: 120px;">
                                            </select>
                                            <span class="default_font span1">天气:</span>
                                            <select name="weather" id="weather" class="remove input1">
                                            </select>
                                        </p>
                                        <p>
                                            <span class="default_font">勘验地点:</span>
                                            <select id="happenlocationone1" name="happenlocationone"
                                                class="remove input15">
                                            </select>
                                            <input type="text" name="kyplace" id="kyplace" value="K" class="input3"
                                                style="width: 60px;" /><span class="default_font"
                                                id="jia">+</span><input type="text" name="kyplace3" id="kyplace3"
                                                class="input3" /><span class="default_font" id="zhi"> 至 </span><input
                                                type="text" name="kyplace1" id="kyplace1" value="K" class="input3"
                                                style="width: 35px;" /><span class="default_font"
                                                id="kydd">+</span><input type="text" name="kyplace4" id="kyplace4"
                                                class="input3" />
                                            <span style="font-size: 12px; margin-left: 20px;">(若为空，则与事故发生地点相同)</span>
                                        </p>
                                        <p>
                                            <span class="default_font">路产修复方式:</span>
                                            <select name="lcxffs" id="lcxffs" class="remove input1"
                                                style="width: 350px;">
                                            </select>
                                        </p>
                                        <div id="div1">
                                            <p>
                                                <span class="default_font">现场路产损失:</span>
                                            </p>
                                            <p>
                                                <span class="default_font">路产名称:</span>
                                                <input id="lc1" oninput="getluchan()" type="text" name="lc1"
                                                    style="width: 80px; text-align: left;" />

                                                <span class="default_font span1">数量:</span>
                                                <input type="text" name="w_num_1" id="w_num_1"
                                                    style="width: 30px; text-align: right;" class="input_1" />
                                                <span class="default_font span1">单价：</span>
                                                <input type="text" name="w_price_1" id="w_price_1"
                                                    style="width: 50px; text-align: right;" class="input_1" />
                                                <span class="default_font span1">单位:</span>
                                                <input type="text" name="w_d_1" id="w_d_1"
                                                    style="width: 50px; text-align: right;" class="input_1" />
                                                <input type="hidden" id="lcid" />
                                                <input type="button" id="addrow" name="addrow" value="增加"
                                                    onclick="addhtml();" />
                                            </p>
                                            <table id="luchan" class="default_font">
                                                <tbody>
                                                    <tr>
                                                        <td align="center">路产名称</td>
                                                        <td align="center" width="15%">数量</td>
                                                        <td align="center" width="15%">单价</td>
                                                        <td align="center" width="15%">单位</td>
                                                        <td align="center" width="15%">操作</td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                            <input id="deleteid" type="hidden" />
                                        </div>
                                        <p>
                                            <span class="default_font span6">赔偿金额:</span>
                                            <input type="text" name="dlAmount" style="width: 110px;" id="dlAmount"
                                                class="input25" value="0" /><span
                                                class="default_font span_yuan">元</span>
                                        </p>
                                    </div>
                                </fieldset>
                                <fieldset class="fieldset1">
                                    <legend style="font-size: 15px;">赔（补）偿费计算依据:</legend>
                                    <div class="div1">
                                        <!--                                <p>-->
                                        <!--                                    <span class="default_font">当事人类别:</span>-->
                                        <!--                                    <input type="radio" name="clientType" id="persionorunit1" viewtype="radio" value="1"-->
                                        <!--                                           checked="checked" class="input_1"/>-->
                                        <!--                                    <span class="default_font">公民</span>-->
                                        <!--                                    <input type="radio" name="clientType" id="persionorunit2" value="0"-->
                                        <!--                                           class="input_1"/>-->
                                        <!--                                    <span class="default_font">单位</span>-->
                                        <!--                                </p>-->
                                        <!--                                <p>-->
                                        <!--                                    <span class="default_font">违反规定:</span>-->
                                        <!--                                </p>-->
                                        <!--                                <p>-->

                                        <!--                                    &lt;!&ndash;<textarea class="textarea1"  id="wfgd" name="wfgd"></textarea>&ndash;&gt;-->
                                        <!--                                    <select name="deregulation" id="wfgd" class="remove input1" style="width: 630px;">-->
                                        <!--                                    </select>-->
                                        <!--                                </p>-->
                                        <p>
                                            <span class="default_font">依据规定:</span>
                                        </p>
                                        <p>
                                            <!--<textarea class="textarea1"  id="yjgd" name="yjgd"></textarea>-->
                                            <select name="accordTo" id="yjgd" class="remove input1"
                                                style="width: 630px;">
                                            </select>
                                        </p>
                                        <!--                                <p>-->
                                        <!--                                    &lt;!&ndash; <span class="default_font span_date">赔偿金额:</span>-->
                                        <!--                                    <input type="text" name="money" id="money" value="0" disabled="disabled" class="input26" />&ndash;&gt;-->
                                        <!--                                    <span class="default_font span1 span_date">报告日期:</span>-->
                                        <!--                                    <input type="text"  name="reportDate1" id="dcbgdate" class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d',minDate:'#F{$dp.$D(\'questionto\',{d:0})&&$dp.$D(\'kyto\',{d:0})}'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />-->

                                        <!--                                    &lt;!&ndash;      <span class="default_font span1 span_date">实收金额:</span>-->
                                        <!--                                    <input type="text" name="paidAmount" id="paidAmount" class="input26" />&ndash;&gt;-->
                                        <!--                                </p>-->
                                    </div>
                                </fieldset>
                                <fieldset class="fieldset1">
                                    <legend style="font-size: 15px;">异常路赔事件:</legend>
                                    <div class="div1">
                                        <p>
                                            <span class="default_font">异常状态: </span>
                                            <select name="discussLocat" id="discussLocat" class="remove input1"
                                                onchange="changeZhuangtai();">
                                                <option value="1">正常</option>
                                                <option value="0">异常</option>
                                            </select>
                                            <span
                                                style="font-size: 12px;">(24小时内由于特殊原因无法办结的可标记为异常状态,异常状态可以添加说明备注)</span>
                                            <!--<span class="default_font" id="querenzhuangtai"></span>-->
                                            <!--<button type="button" class="layui-btn-normal" style="color:white;width:65px;border:none;border-radius: 2px; display: none" id="qurenbutton" onclick="querenzhuangtai()">确认</button>-->
                                        </p>
                                        <p class="beizhuxianshi" style="display: none">
                                            <span class="default_font">备注: </span><span
                                                style="font-size: 12px;">(备注内容会自动同步到文书备注中)</span>
                                        </p>
                                        <p class="beizhuxianshi" style="display: none"><textarea class="textarea1"
                                                id="factthree" name="factThree"></textarea></p>
                                    </div>
                                </fieldset>
                                <!--                        <fieldset id="jttlhtml" class="fieldset1">-->
                                <!--                            &lt;!&ndash;<input style="display: none;" id="departmentName1" name="departmentName" />&ndash;&gt;-->
                                <!--                            <legend style="font-size: 15px;">重大案件集体讨论<input id="btnAddJttl" type="button"-->
                                <!--                                                                            value="增加时间及地点" onclick="addJttlhtml();"/>-->
                                <!--                            </legend>-->
                                <!--                            <input id="jttldeleteid" type="hidden"/>-->
                                <!--                            <div id="jttldiv1" class="div1" index="1" xwblid="0">-->
                                <!--                                <p>-->
                                <!--                                    <span class="default_font span_date">讨论时间:</span>-->
                                <!--                                    <input type="text"  name="discussStart1" id="jttlStartdate1" class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',maxDate:'%y-%M-%d'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />-->

                                <!--                                    <span class="default_font span7 span_date">至</span>-->
                                <!--                                    <input type="text"  name="discussEnd1" id="jttlEnddate1" class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d H时m分',minDate:'#F{$dp.$D(\'jttlStartdate1\',{d:0});}'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />-->

                                <!--                                </p>-->
                                <!--                                <p>-->
                                <!--                                    <span class="default_font">地点:</span>-->
                                <!--                                    <input type="text" name="discussLocat" id="place" value="" class="input24"/>-->
                                <!--                                    <input type="button" onclick="deletejttlhtml()" value="删除">-->

                                <!--                                </p>-->
                                <!--                            </div>-->
                                <!--                        </fieldset>-->

                                <!--                        <fieldset class="fieldset1">-->
                                <!--                            <legend style="font-size: 15px;">交通具体行政行为决定书:</legend>-->
                                <!--                            <div class="div1">-->
                                <!--                                <p>-->
                                <!--                                    <span class="default_font span_date">报告日期:</span>-->
                                <!--                                    <input type="text"  name="noteRepDate1" id="jdsdate" class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d',maxDate:'%y-%M-%d'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />-->

                                <!--                                </p>-->
                                <!--                                <p>-->
                                <!--                                    <span class="default_font span_date">当事人缴纳赔（补）偿费日期:</span>-->
                                <!--                                    <input type="text"  name="moneyDate1" id="jdsdatejq" class="input_date default_font input rule-date-input input14" onfocus="WdatePicker({errDealMode:1,startDate:'%y',dateFmt:'yyyy-M-d',maxDate:'%y-%M-%d'})" datatype="/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}\s{1}(\d{1,2}:){2}\d{1,2}$/" />-->
                                <!--                                </p>-->
                                <!--                            </div>-->
                                <!--                        </fieldset>-->
                                <br />
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
</body>

</html>